[root@observium observium]# ./discovery.php -d -m os -h clp-flx-sw1.centerline.net
DEBUG!
Observium 0.15.8.6849
Discovery

CMD[/opt/observium/scripts/distro]

Wrong process status! Try fix..
EXITCODE[0]
RUNTIME[0.0097s]
STDOUT[
Linux|2.6.32-504.3.3.el6.x86_64|amd64|CentOS|6.6
]

CMD[/usr/bin/env python --version 2>&1]

EXITCODE[0]
RUNTIME[0.004s]
STDOUT[
Python 2.6.6
]

SQL[SELECT version()]
RUNTIME[0.00101495s]

CMD[/usr/bin/snmpget --version 2>&1]

EXITCODE[0]
RUNTIME[0.0107s]
STDOUT[
NET-SNMP version: 5.5
]

CMD[/usr/bin/rrdtool --version |head -n1]

EXITCODE[0]
RUNTIME[0.0064s]
STDOUT[
RRDtool 1.3.8  Copyright 1997-2009 by Tobias Oetiker <tobi@oetiker.ch>
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
RUNTIME[0.00011110s]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

EXITCODE[0]
RUNTIME[0.0049s]
STDOUT[

]

CMD[/usr/bin/env httpd -v | awk '/Server version:/ {print $3}']

EXITCODE[0]
RUNTIME[0.0183s]
STDOUT[
Apache/2.2.15
]
Software versions:
  OS:        Linux 2.6.32-504.3.3.el6.x86_64 [amd64] (CentOS 6.6)
  Apache:    2.2.15
  PHP:       5.3.3
  Python:    Python 2.6.6
  MySQL:     5.1.73 (extension: mysqli 5.1.73)
  SNMP:      NET-SNMP 5.5
  RRDtool:   1.3.8

SQL[SHOW VARIABLES LIKE 'character_set_connection']
RUNTIME[0.00166988s]
Charset info:
  PHP:       UTF-8
  MySQL:     utf8

Timezones info:
  Date:      Monday, 10-Aug-15 09:22:39 EDT
  PHP:       -04:00
  MySQL:     -04:00

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
RUNTIME[0.00015020s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
RUNTIME[0.00009894s]

SQL[SELECT COUNT(*) FROM ports]
RUNTIME[0.00040412s]

SQL[SELECT COUNT(*) FROM devices]
RUNTIME[0.00016713s]

SQL[SELECT COUNT(*) FROM `sensors`]
RUNTIME[0.00011396s]

SQL[SELECT COUNT(*) FROM `services`]
RUNTIME[0.00012493s]

SQL[SELECT COUNT(*) FROM `applications`]
RUNTIME[0.00007892s]

SQL[SELECT COUNT(*) FROM `bgpPeers`]
RUNTIME[0.00009203s]

SQL[SELECT COUNT(*) FROM `ospf_ports`]
RUNTIME[0.00007892s]

SQL[SELECT COUNT(*) FROM `eigrp_ports`]
RUNTIME[0.00012302s]

SQL[SELECT COUNT(*) FROM `ipsec_tunnels`]
RUNTIME[0.00013900s]

SQL[SELECT COUNT(*) FROM `munin_plugins`]
RUNTIME[0.00012183s]

SQL[SELECT COUNT(*) FROM `pseudowires`]
RUNTIME[0.00013995s]

SQL[SELECT COUNT(*) FROM `vrfs`]
RUNTIME[0.00013304s]

SQL[SELECT COUNT(*) FROM `vminfo`]
RUNTIME[0.00013685s]

SQL[SELECT COUNT(*) FROM `users`]
RUNTIME[0.00017095s]

SQL[SELECT COUNT(*) FROM `bills`]
RUNTIME[0.00016785s]

SQL[SELECT COUNT(*) FROM `alert_table`]
RUNTIME[0.00009990s]

SQL[SELECT COUNT(*) FROM `alert_tests`]
RUNTIME[0.00013709s]

SQL[SELECT COUNT(*) FROM `slas`]
RUNTIME[0.00008416s]

SQL[SELECT COUNT(*) FROM `status`]
RUNTIME[0.00008202s]

SQL[SELECT COUNT(*) FROM `groups`]
RUNTIME[0.00012517s]

SQL[SELECT COUNT(*) FROM `group_table`]
RUNTIME[0.00013018s]

SQL[SELECT SUM(`last_polled_timetaken`) FROM devices]
RUNTIME[0.00011802s]

SQL[SELECT SUM(`last_discovered_timetaken`) FROM devices]
RUNTIME[0.00021815s]

CMD[DISTROFORMAT=export /opt/observium/scripts/distro]

EXITCODE[0]
RUNTIME[0.0112s]
STDOUT[
OS=Linux
KERNEL=2.6.32-504.3.3.el6.x86_64
ARCH=amd64
DISTRO=CentOS
DISTROVER=6.6
SCRIPTVER=1.0.15
]

SQL[SELECT `sysObjectID`, COUNT(*) AS `count` FROM `devices` WHERE `os` = 'generic' GROUP BY `sysObjectID`]
RUNTIME[0.00057817s]

SQL[SELECT COUNT(*) AS `count`, `os` FROM `devices` GROUP BY `os`]
RUNTIME[0.00014496s]

SQL[SELECT COUNT(*) AS `count`, `type` FROM `devices` GROUP BY `type`]
RUNTIME[0.00027490s]

SQL[SELECT COUNT(*) AS `count`, `app_type` FROM `applications` GROUP BY `app_type`]
RUNTIME[0.00011110s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'unique_id';]
RUNTIME[0.00009894s]

REQUEST[http://www.observium.org/versions.php]
RUNTIME[0.651s]

SQL[SELECT COUNT(*) FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
RUNTIME[0.00027490s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='0.15.8.6867' WHERE `attrib_type` = 'latest_ver']
RUNTIME[0.00873113s]

SQL[SELECT COUNT(*) FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
RUNTIME[0.00010896s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='6867' WHERE `attrib_type` = 'latest_rev']
RUNTIME[0.00833797s]

SQL[SELECT COUNT(*) FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
RUNTIME[0.00010419s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='2015-08-10' WHERE `attrib_type` = 'latest_rev_date']
RUNTIME[0.00822592s]

SQL[SELECT COUNT(*) FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
RUNTIME[0.00010014s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='1439212960' WHERE `attrib_type` = 'last_versioncheck']
RUNTIME[0.00821400s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
RUNTIME[0.00009704s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
RUNTIME[0.00009298s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
RUNTIME[0.00009298s]
There is a newer revision of Observium available!
Version 0.15.8.6867 (10th August 2015) is 18 revisions ahead.

SQL[SELECT * FROM `devices` WHERE `status` = 1 AND `disabled` = 0 AND `hostname` LIKE 'clp-flx-sw1.centerline.net' ORDER BY `last_discovered_timetaken` ASC]
RUNTIME[0.00045705s]

CMD[/usr/bin/snmpget -v2c -c *** -Pu  -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'clp-flx-sw1.centerline.net':'161' sysObjectID.0 sysUpTime.0]

EXITCODE[0]
RUNTIME[0.0087s]
STDOUT[
sysObjectID.0 = enterprises.20301.1.18.13
sysUpTime.0 = 582262800
]
SNMP_STATUS[TRUE]

SQL[SELECT * FROM `devices_attribs` WHERE `device_id` = '60']
RUNTIME[0.00018215s]
clp-flx-sw1.centerline.net 60 generic 
CMD[/usr/bin/snmpget -v2c -c *** -Pu  -Ovq -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'clp-flx-sw1.centerline.net':'161' sysDescr.0]

EXITCODE[0]
RUNTIME[0.0122s]
STDOUT[
IBM Flex System Fabric EN4093 10Gb Scalable Switch(Upgrade1)
]
SNMP_STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c *** -Pu  -Ovqn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'clp-flx-sw1.centerline.net':'161' sysObjectID.0]

EXITCODE[0]
RUNTIME[0.011s]
STDOUT[
.1.3.6.1.4.1.20301.1.18.13
]
SNMP_STATUS[TRUE]
| IBM Flex System Fabric EN4093 10Gb Scalable Switch(Upgrade1) | .1.3.6.1.4.1.20301.1.18.13 | 
Including solaris.inc.php
Including jdsu_edfa.inc.php

CMD[/usr/bin/snmpget -v2c -c *** -Pu  -OQv -m NSCRTV-ROOT -M /opt/observium/mibs 'udp':'clp-flx-sw1.centerline.net':'161' commonDeviceVendorInfo.1]

EXITCODE[0]
RUNTIME[0.0081s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP_STATUS[FALSE]
Including linux.inc.php
Including gamatronicups.inc.php
Including cometsystem-p85xx.inc.php
Including samsung.inc.php

CMD[/usr/bin/snmpget -v2c -c *** -Pu  -OQv -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'clp-flx-sw1.centerline.net':'161' prtGeneralServicePerson.1]

EXITCODE[0]
RUNTIME[0.0199s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP_STATUS[FALSE]
Including zyxel.inc.php
Including allied.inc.php
Including freebsd.inc.php
Including wxgoos.inc.php
Including cisco.inc.php
Including extremeware.inc.php
Including digi.inc.php
Including aten.inc.php

Module [ os ] time: 0.0001s

SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.060',`force_discovery` ='0' WHERE `device_id` = '60']
RUNTIME[0.00671983s]

SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`)  VALUES ('60','discover','1439212960.3958','0.060399055480957')]
RUNTIME[0.00880814s]
Device [ clp-flx-sw1.centerline.net ] discovered in 0.060 seconds

SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`)  VALUES ('discover','clp-flx-sw1.centerline.net','1439212959.5993','0.873','1')]
RUNTIME[0.00837803s]
./discovery.php: clp-flx-sw1.centerline.net - 1 devices discovered in 0.873 secs
NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
Memory usage: 9.75MB (peak: 9.75MB)
MySQL: Cell[29/0.01s] Row[6/0s] Rows[7/0.01s] Column[0/0s] Update[5/0.04s] Insert[2/0.02s] Delete[0/0s]